import {ajax} from './ajax'

const api = {
    bind: '/v1/api/wx/customer/bind',
    captcha: '/v1/api/wx/customer/captcha',
    wxCustomerMission: '/v1/api/fac/mission/wxCustomerMission',
    wxOrderNoOrStyleNo: '/v1/api/fac/mission/wxOrderNoOrStyleNo'
};

// 绑定手机号
const bind = (data) => ajax.post(api.bind, data);
// 发送验证码
const captcha = (data) => ajax.post(api.captcha, data);
// 工单列表
const wxCustomerMission = (data) => ajax.post(api.wxCustomerMission, data);
// 搜索工单
const wxOrderNoOrStyleNo = (data) => ajax.post(api.wxOrderNoOrStyleNo, data);


module.exports = {
    bind,
    captcha,
    wxCustomerMission,
    wxOrderNoOrStyleNo
}